<%@ page language="java"  pageEncoding="UTF-8" contentType="text/html; charset=UTF-8"%>

<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ page isELIgnored="false"%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title></title>
</head>
<body>

<c:forEach items="${comments}" var="co" varStatus="status">
	<table>
		<tr <c:if test="${status.count%2==0}">bgcolor="#CCCCFE"</c:if>>

			<th><c:out value="${co.commentDate}" /></th>
		</tr>
		<tr>
			<td><c:out value="${co.content}" /></td>
		</tr>
	</table>
</c:forEach>


<form action="comment.htm" method="post">
<table>

	<tr>
		<td>写</td>
		<td><textarea rows="3" cols="10" name="content"></textarea></td>
	</tr>
	<tr>
		<td><input type="submit" value="Submit" /></td>
	</tr>
</table>
</form>
</body>
</html>
